import service from "@/util/service.js"

export function one(){
    return new Promise((resolve,reject)=>{
        service.request({
            url:"/topdata",
            method:"get"
        }).then((ok)=>{
            resolve(ok)
        }).catch((err)=>{
            reject(err)
        })
    })
}